<extend name="Public/base" />
<block name="body">
    <!-- 标题栏 -->
    <div class="main-title">
        <h2>意见反馈</h2>
    </div>


    <!-- 反馈意见设置 -->
    <div class="money">
        <div class="search-money">
            <div class="search-form fr cf">
                <div class="sleft">
                    <input name="nickname" class="search-input" value="" placeholder="请输入用户ID或者手机号" type="text">
                    <a class="sch-btn" href="javascript:;" id="search" url="/qgh/admin.php?s=/User/index.html"><i class="btn-search"></i></a>
                </div>
            </div>
        </div>
        <div class="data-table">
            <table>
                <!-- 表头 -->
                <thead>
                <tr>
                    <th class="row-selected row-selected">
                        <input class="check-all" type="checkbox">
                    </th>
                    <volist name="list_grids" id="field">
                        <th>{$field.title}</th>
                    </volist>
                    <th>用户ID</th>
                    <th>手机号</th>
                    <th>设备信息</th>
                    <th>APP版本</th>
                    <th>反馈内容</th>
                    <th>时间</th>
                </tr>
                </thead>

                <!-- 列表 -->
                <tbody>
                <tr>
                    <td><input class="ids" type="checkbox" value="{$data['id']}" name="ids[]"></td>
                    <td>62</td>
                    <td>15845685623</td>
                    <td>IOS 9.3.1</td>
                    <td>1.0</td>
                    <td>了内部科技年菊花就佛地方撒发热</td>
                    <td>2016-4-26  15:41:10</td>
                </tr>
                <tr>
                    <td><input class="ids" type="checkbox" value="{$data['id']}" name="ids[]"></td>
                    <td>62</td>
                    <td>15845685623</td>
                    <td>Andriod，5.0</td>
                    <td>1.0</td>
                    <td>了内部科技年菊花就佛地方撒发热</td>
                    <td>2016-4-26  15:41:10</td>
                </tr>
                <tr>
                    <td><input class="ids" type="checkbox" value="{$data['id']}" name="ids[]"></td>
                    <td>62</td>
                    <td>15845685623</td>
                    <td>IOS 9.3.1</td>
                    <td>1.0</td>
                    <td>了内部科技年菊花就佛地方撒发热</td>
                    <td>2016-4-26  15:41:10</td>
                </tr>
                <tr>
                    <td><input class="ids" type="checkbox" value="{$data['id']}" name="ids[]"></td>
                    <td>62</td>
                    <td>15845685623</td>
                    <td>Andriod，5.0</td>
                    <td>1.0</td>
                    <td>了内部科技年菊花就佛地方撒发热</td>
                    <td>2016-4-26  15:41:10</td>
                </tr>
                </tbody>
            </table>
            <aside class="paging">
                <a>第一页</a>
                <a>1</a>
                <a>2</a>
                <a>3</a>
                <a>…</a>
                <a>1004</a>
                <a>最后一页</a>
            </aside>
        </div>
        <!-- 高级搜索 -->

        <div class="page">
            {$_page}
        </div>
    </div>
</block>

<block name="script">
    <script type="text/javascript" charset="utf-8">
        //搜索功能
        $("#search").click(function(){
            var url = $(this).attr('url');
            var query  = $('.search-form').find('input').serialize();
            query = query.replace(/(&|^)(\w*?\d*?\-*?_*?)*?=?((?=&)|(?=$))/g,'');
            query = query.replace(/^&/g,'');
            if( url.indexOf('?')>0 ){
                url += '&' + query;
            }else{
                url += '?' + query;
            }
            window.location.href = url;
        });
        //回车搜索
        $(".search-input").keyup(function(e){
            if(e.keyCode === 13){
                $("#search").click();
                return false;
            }
        });
        //导航高亮
        highlight_subnav('{:U('Trader/traderList')}');
    </script>
    <script type="text/javascript" charset="utf-8">
        onload = function ()
        {
            setInterval (function ()
            {
                var date = new Date ();
                txt.value = date.toLocaleDateString();
            });

        }

    </script>
</block>